A Structural and Efficient Method for Calculating Gradient and Hessian with CVaR Portfolio Optimization Application
نویسنده
چکیده
Calculating or approximating the derivatives for large-scale multi-dimensional functions is an active research area in modern mathematics. The rationale behind this popularity is its wide applications in statistics, financial mathematics and portfolio optimization. For example, in statistics, maximum likelihood estimation seeks the value of parameter vector that maximize the likelihood function, which requires to find the points where derivative of likelihood function is zero; in finance, taking derivatives can be applied to sensitivity analysis for equity valuation, with respect to single or multiple variables; numerical optimization problems calculate the derivatives at each iteration, such as trust-region method. The most straightforward way to calculate a derivative is hand-coding, but it is only applicable to sufficiently simple functions, and it’s error-prone. Finite-difference method is easy to implement with a programming language, but the accuracy depends on the choice of discretization steps, and hence can not be guaranteed. Throughout this essay, we study the methodology of automatic differentiation (AD), and introduce a structural automatic differentiation method (Structural-AD) for calculating gradient and hessian. The implementation of Structural-AD uses the software ADMAT 2.0 installed on MATLAB by Cayuga Research Associates [2009]. Structura-AD exploits the ‘natural structure’ of some functions and it makes use of the regular reverse mode of AD to achieve more efficient computing time and less memory usage requirement. In the paper by Xu and Coleman [2013], they applied structural-AD to two extreme cases, generalized partially separable problem and dynamic system computations. They showed that computing time and memory requirement using Structural-AD is significantly reduced compared to the regular reverse mode. We also applied structural-AD on a Conditional Value-at-Risk (CVaR) optimization problem, specifically with the underlying function describing the loss function of a stock portfolio.
منابع مشابه
Robust Portfolio Optimization with risk measure CVAR under MGH distribution in DEA models
Financial returns exhibit stylized facts such as leptokurtosis, skewness and heavy-tailness. Regarding this behavior, in this paper, we apply multivariate generalized hyperbolic (mGH) distribution for portfolio modeling and performance evaluation, using conditional value at risk (CVaR) as a risk measure and allocating best weights for portfolio selection. Moreover, a robust portfolio optimizati...
متن کاملGJR-Copula-CVaR Model for Portfolio Optimization: Evidence for Emerging Stock Markets
Abstract T his paper empirically examines the impact of dependence structure between the assets on the portfolio optimization, composed of Tehran Stock Exchange Price Index and Borsa Istanbul 100 Index. In this regard, the method of the Copula family functions is proposed as powerful and flexible tool to determine the structure of dependence. Finally, the impact of the dep...
متن کاملOptimal Portfolio Selection for Tehran Stock Exchange Using Conditional, Partitioned and Worst-case Value at Risk Measures
This paper presents an optimal portfolio selection approach based on value at risk (VaR), conditional value at risk (CVaR), worst-case value at risk (WVaR) and partitioned value at risk (PVaR) measures as well as calculating these risk measures. Mathematical solution methods for solving these optimization problems are inadequate and very complex for a portfolio with high number of assets. For t...
متن کاملThree steps method for portfolio optimization by using Conditional Value at Risk measure
Comprehensive methods must be used for portfolio optimization. For this purpose, financial data of stock companies, inputs and outputs variable, the risk measure and investor’s preferences must be considered. By considering these items, we propose a method for portfolio optimization. In this paper, we used financial data of companies for screening the stock companies. We used Conditional Value ...
متن کاملOptimal Control of Conditional Value-at-Risk in Continuous Time
We consider continuous-time stochastic optimal control problems featuring Conditional Valueat-Risk (CVaR) in the objective. The major difficulty in these problems arises from timeinconsistency, which prevents us from directly using dynamic programming. To resolve this challenge, we convert to an equivalent bilevel optimization problem in which the inner optimization problem is standard stochast...
متن کامل